package eg.ci.mvn.service.api.model.param;


import eg.ci.mvn.service.api.model.BaseDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@Schema(description =  "MqParam参数")
@Builder
public class MqParam {

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    @Schema(description = "MqRequestParam 请求参数")
    public static class MqRequestParam extends BaseDTO {

        @Schema(description = "交换器名称", example = "amq.topic")
        private String exchange;

        @Schema(description = "路由键", example = "test.topic.msg.1")
        private String routingKey;

        @Schema(description = "内容", example = "{\"sd\":\"123\"}")
        private String jsonString;

    }

}
